<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */

use App\News;
use Faker\Generator as Faker;

$factory->define(News::class, function (Faker $faker) {
    return [
        'title' => $faker->sentence(10),
        'summary' => $faker->sentence(20),
        'body' => $faker->realText($faker->biasedNumberBetween(500, 1000)),
        'view_counts' => $faker->biasedNumberBetween(10, 10000),
        'thumb_up_counts' => $faker->biasedNumberBetween(10, 10000),
    ];
});
